//
//  PeopleViewController.h

//

#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
#import "PeopleFilterViewController.h"
#import "BaseViewController.h"

enum
{
    BlockMode,
    PeopleMode
};
typedef NSInteger PeopleView;


@interface UIButtonAvatarCreateEvent : UIButton 

@property (assign) __weak NSObject *userInfo;

- (void)makeBoderAndShadow;

@end

@interface CreateEventPeopleViewController : BaseViewController<CLLocationManagerDelegate,PeopleFilterViewControllerDelegate>
{
    NSMutableArray  *listNearbyPeople;
    NSMutableArray  *listCityPeople;
    
    UILabel *lbl1;
    UILabel *lbl2;
    UITableView *tblView;
    UITableViewCell *myCell;
    CLLocationManager *locationManager;
    CLLocation *bestEffortAtLocation;
    BOOL isFav;
    BOOL isNearby;
    NSMutableDictionary *eventData;
    
}
@property (nonatomic, retain) NSString *resetString;
@property (nonatomic, retain) CLLocationManager *locationManager;
@property (nonatomic, retain) CLLocation *bestEffortAtLocation;
@property (retain) IBOutlet UITableView *tblView;
@property (nonatomic, retain) IBOutlet UITableViewCell *myCell;
@property (strong) NSString *currentFilter;
@property (strong) NSString *lastFilter;
@property (nonatomic, assign) BOOL isFav;
@property (nonatomic, assign) BOOL isNearby;

@property (retain) IBOutlet UILabel *lbl1;
@property (retain) IBOutlet UILabel *lbl2;
@property (assign) PeopleView peopleView;
@property(nonatomic,retain) NSMutableDictionary *eventData;

- (void) stopUpdatingLocation;
@end
